package com.penghaisoft.microwms.base.web.resrole.dao;


import com.penghaisoft.microwms.common.base.model.BaseResRoleResourceKey;

import java.util.List;

/**
 * @Title: BaseResRoleMapper.java
 * @Description: 角色资源关联接口
 * @author qh
 * @date 2017/3/1 16:24
 * @version V0.5
 */
public interface BaseResRoleResourceMapper {
	
	List<BaseResRoleResourceKey> selectByResRoleId(String resroleId);
	
    int deleteByPrimaryKey(BaseResRoleResourceKey key);
    
    int deleteByResRoleIds(List<String> resroleIds);

    int insert(BaseResRoleResourceKey record);

    int insertSelective(BaseResRoleResourceKey record);
    
    int insertResRoleBatch(List<BaseResRoleResourceKey> resRoleResourceKeys);
    
}